Searchanise\SmartWoocommerceSearch\Queue A

Total Complexity 70
Dependencies 1
Dependents 6
Total lines 508
Lines of code 221
Logical lines of code 107
Comment lines 132
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
addAction()
A
47 12 32
getAPITypeByAction()
A
58 9 18
getNextQueue()
S
56 5 19
getQueueStatus()
S
59 5 14
addActionUpdatePages()
S
64 3 10
isQueueRunning()
S
71 3 5
addActionUpdateCategory()
S
64 3 10
addActionUpdateProducts()
S
64 3 10
isQueueHasError()
S
77 2 3
addActionDeleteFacets()
S
73 2 5
prepareFullImport()
S
68 2 7
clearActions()
S
65 2 9
insertData()
S
69 2 6
getInstance()
S
71 2 6
addActionDeleteCategories()
S
73 2 5
addActionDeletePages()
S
70 2 6
addActionDeleteProducts()
S
70 2 6
isDeleteAllAction()
S
68 1 9
addActionUpdateAttributes()
S
81 1 3
setQueueStatusProcessing()
S
68 1 7
setQueueErrorById()
S
74 1 4
isDeleteAction()
S
68 1 9
deleteQueueById()
S
78 1 3
isUpdateAction()
S
69 1 8
getTotalItems()
S
79 1 3
__construct()
S
77 1 4